package com.demo.seckill.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author : YU.TAN
 * @date : 2021/10/26 10:56
 */
@AllArgsConstructor
@Getter
public enum SeckillStatEnum {
    //----
    MUCH(2,"哎呦喂，人也太多了，请稍后！"),
    SUCCESS(1,"秒杀成功"),
    END(0,"秒杀结束"),
    REPEAT_KILL(-1,"重复秒杀"),
    INNER_ERROR(-2,"系统异常"),
    DATE_REWRITE(-3,"数据篡改");

    private int state;
    private String info;

}
